package ar.republicagroup.gestion.util;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JButton;

public class ClickAction extends AbstractAction {
    
    private JButton button;

        public ClickAction(JButton button) {
            this.button = button;
        }
        
    @Override
    public void actionPerformed(ActionEvent e) {
        button.doClick();
    }
    
}
